import {
	defineStore
} from 'pinia'
import {BASE_URL} from "@/utils/Server/index.js"
export const useStore = defineStore('storeId', {
	state: () => {
		return {
			userInfo: {}, //用户个人信息
			busliasdetals: {}, //商家充值信息
			doorinfo: {}, //当前门店信息
			// uploadurl:process.env.NODE_ENV === 'development'?"https://mail.tst.sigin.cn:9002/miniapp/system/v2/file/upload" :"https://api-xg.dianlaoban.net/miniapp/system/v2/file/upload",
			uploadurl  :BASE_URL+"/miniapp/system/v2/file/upload",
			lng: "", //经纬度
			lat: "", //纬度,
			addressname: "定位中...", //地址名称
			getinmin: 0, //是否第一次,
			logotype: 1, //1点老板外送 2 咚点西点
			isaddcart: 0, //是否可以添加购物车 0 否 1可
		}
	},
	getters: {},
	actions: {}
})